package com.xujianlun.cpms.entity.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单物品关联表
 * </p>
 *
 * @author xujianlun
 * @since 2022-12-15
 */
@Getter
@Setter
@TableName("shop_order_goods")
@ApiModel(value = "OrderGoods对象", description = "订单物品关联表")
public class OrderGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单ID")
    private Integer orderId;

    @ApiModelProperty("用户ID")
    private Integer goodsId;

    @ApiModelProperty("商品数量")
    private Integer num;


}
